package com.ease.component.controls {

   public class HandlesMouseCursors {
      [Embed("/assets/images/resize-v.gif")]
      public static const sizeNS:Class;
      [Embed("/assets/images/move.gif")]
      public static const sizeAll:Class;
      [Embed("/assets/images/resize-r.gif")]
      public static const sizeNESW:Class;
      [Embed("/assets/images/resize-l.gif")]
      public static const sizeNWSE:Class;
      [Embed("/assets/images/resize-h.gif")]
      public static const sizeWE:Class;

      public function HandlesMouseCursors() {
      }

      public static function getCursor(name:String):Class {
         switch (name) {
            case "SizeNS":
               return sizeNS;
            case "SizeAll":
               return sizeAll;
            case "SizeNWSE":
               return sizeNWSE;
            case "SizeNESW":
               return sizeNESW;
            case "SizeWE":
               return sizeWE;
         }
         return null;
      }

   }
}